<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_categories extends CI_Controller {
    function  __construct(){
        parent::__construct();
        
    }
    function index(){
        //$this->db->cache_on(); 
        // get all category ->menu
        $data = $this->Home_model->get_data('categories',array('show'=>1,'postion'=>1));        
        $this->load->view('mod_categories/mod_categories' ,array('category'=>$data));
        //$this->db->cache_off();
         
    }
    
    
}